package com.java.common.constant;

public class MqConstant {

    //交换机
    public static final String order_exchangeName = "order-event-exchange";
    //普通队列
    public static final String order_ordQueue = "order.release.order.queue";
    //延时队列
    public static final String order_deadQueue = "order.delay.queue";
    //绑定普通队列的路由键
    public static final String order_toQueueKey = "order.release.order";
    //绑定延时队列的路由键
    public static final String order_toDeadQueueKey = "order.create.order";
    //延时队列时间
    public static final Integer order_eeadQueueTTL = 1*60*1000;
    public static final String order_toWareOrdRoutingKey = "order.release.other.#";



    public static final String ware_exchangeName = "stock-event-exchange";
    public static final String ware_deadQueue = "stock.delay.queue";
    public static final String ware_ordQueue = "stock.release.stock.queue";
    public static final String ware_toDeadRoutingKey = "stock.locked";
    public static final String ware_toOrdRoutingKey = "stock.release.#";
    public static final Integer ware_eeadQueueTTL = 2*60*1000;
}
